﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ZhuXingFamilys.ModelInformation.Entity
{
    public class floorInfo
    {
        public string id { get; set; } // ID
        public string floor_code { get; set; } // 楼层编号
        public string floor_name { get; set; } // 楼层名称
        public string base_elevation { get; set; } // 底标高
        public string main_function_category { get; set; } // 主功能类别
        public string sub_function_category { get; set; } // 子功能类别
        public string structural_height { get; set; } // 结构层高
        public string floor_type { get; set; } // 楼层类型
        public string is_refuge_floor { get; set; } // 是否是避难层
        public string is_smoke_refuge { get; set; } // 避难层是否防烟
        public string measures_description { get; set; } // 措施描述
        public List<RoomInfo> RoomInfos { get; set; }

    }

    public class RoomInfo
    {
        public string RoomName { get; set; }
        public string Area { get; set; }

        public RoomInfo(string roomName, string area)
        {
            RoomName = roomName;
            Area = area;
        }
    }
}
